package models

import org.mongodb.scala.bson._

trait HasID[T] {

  def _id: T
}

trait HasUUID extends HasID[java.util.UUID] {

  def _id: java.util.UUID
}

trait HasObjectID extends HasID[ObjectId] {

  def _id: ObjectId
}

trait HasBsonObjectID extends HasID[BsonObjectId] {

  def _id: BsonObjectId
}
